//
//  GoogleMapViewController.h
//  iPhoneKML
//
//  Created by Benjamin Blundell on 17/11/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>
#import <MapKit/MKAnnotation.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreLocation/CLLocation.h>


@interface GoogleMapViewController : UIViewController <CLLocationManagerDelegate> {

@private
	MKMapView			*gmapView;
	MKPlacemark			*mPlacemark;
	
	CLLocationManager	*locationManager;
	CLLocation			*bestEffortAtLocation;
	
	IBOutlet UIButton		*routeMe;
	CLLocationCoordinate2D	location;
	
}

@property (nonatomic,retain) IBOutlet MKMapView	*gmapView;
@property (nonatomic, retain) CLLocationManager *locationManager;
@property (nonatomic, retain) CLLocation *bestEffortAtLocation;
@property (nonatomic, retain) NSMutableDictionary *setupInfo;
@property (nonatomic, retain) NSArray *accuracyOptions;



- (IBAction)start:(id)sender;
- (void) setLatitude:(float) lat andLongitude:(float) lon andTitle:(NSString*) t; 

- (void)stopUpdatingLocation:(NSString *)state;



@end
